<template>
	<view class="container">
		<uni-section title="图片" type="line">
			<image :src="href" :mode="mode"></image>
		</uni-section>
	</view>
</template>

<script>
	import BASE_URL from '@/utils/env.js'
	export default {

		data() {
			return {
				mode: 'widthFix',
				href: BASE_URL + '/file/image/1',
			}
		}
	}
</script>

<style lang="scss">
	.image {
		width: 400rpx;
		height: 8000px;
	}

	.text {
		font-size: 14px;
		margin-top: 5px;
	}

	.grid-item-box {
		flex: 1;
		// position: relative;
		/* #ifndef APP-NVUE */
		display: flex;
		/* #endif */
		flex-direction: column;
		align-items: center;
		justify-content: center;
		padding: 15px 0;
	}

	.grid-dot {
		position: absolute;
		top: 5px;
		right: 15px;
	}
</style>